From 0632e8534a1fcdbad499a0569bc1b389c7e65473 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 1 Mar 2001 13:11:58 +0000 Subject: [PATCH] (x_set_foreground_color): Set the background of the cursor GC. --- src/xfns.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xfns.c b/src/xfns.c index 58a965d985f..1add97f6599 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1350,6 +1350,8 @@ x_set_foreground_color (f, arg, oldval) f->output_data.x->foreground_pixel); XSetBackground (FRAME_X_DISPLAY (f), f->output_data.x->reverse_gc, f->output_data.x->foreground_pixel); + XSetBackground (FRAME_X_DISPLAY (f), f->output_data.x->cursor_gc, + f->output_data.x->foreground_pixel); UNBLOCK_INPUT; update_face_from_frame_parameter (f, Qforeground_color, arg); if (FRAME_VISIBLE_P (f)) -- 2.30.2